package com.demo;

import com.demo.interfaces.ICoupon;

public class HundredMinusTenCoupon implements ICoupon {
    @Override
    public int fullReduction(int total) {
      int calculatedResult = 0;
      if(total > 100){
          calculatedResult = total - 10;
      }else{
          calculatedResult = total;
      }
      return calculatedResult;
    }
}
